package com.me.modules.sys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.me.modules.sys.dao.TimetblWorkdateDao;
import com.me.modules.sys.entity.TimetblWorkdateEntity;
import com.me.modules.sys.service.TimetblWorkdateService;



@Service("timetblWorkdateService")
public class TimetblWorkdateServiceImpl implements TimetblWorkdateService {
	@Autowired
	private TimetblWorkdateDao timetblWorkdateDao;

	@Override
	public TimetblWorkdateEntity queryObject(Long id){
		return timetblWorkdateDao.queryObject(id);
	}

	@Override
	public List<TimetblWorkdateEntity> queryList(Map<String, Object> map){
		return timetblWorkdateDao.queryList(map);
	}

    @Override
    public List<TimetblWorkdateEntity> queryListByBean(TimetblWorkdateEntity entity) {
        return timetblWorkdateDao.queryListByBean(entity);
    }

	@Override
	public int queryTotal(Map<String, Object> map){
		return timetblWorkdateDao.queryTotal(map);
	}

	@Override
	public int save(TimetblWorkdateEntity timetblWorkdate){


		return timetblWorkdateDao.save(timetblWorkdate);
	}

	@Override
	public int update(TimetblWorkdateEntity timetblWorkdate){
        return timetblWorkdateDao.update(timetblWorkdate);
	}

	@Override
	public int delete(Long id){
        return timetblWorkdateDao.delete(id);
	}

	@Override
	public int deleteBatch(Long[] ids){
        return timetblWorkdateDao.deleteBatch(ids);
	}

}
